package org.demo.mapper;

/**
 * @author tuk
 * @Date 2025/5/27 上午11:29
 */
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.demo.entity.User;

@Mapper
public interface UserMapper {

    @Select("select * from sys_user where id = #{id}")
    User findById(@Param("id") Long id);
}
